/****************************************
 * Copyright (c) 2015 NiuWa.
 * All rights reserved.
 * Created on 2015年4月22日
 * 
 * Contributors:
 * 	   bwz - initial implementation
 ****************************************/
package com.niuwa.p2p.service.impl.channel;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.niuwa.p2p.dao.channel.LoanClaimDetailDao;
import com.niuwa.p2p.entity.channel.LoanClaimDetail;
import com.niuwa.p2p.service.channel.LoanClaimDetailService;
import com.niuwa.p2p.vo.business.LoanClaimPlanInfoVo;


/**
 * @title 借款项目详细表Service实现类
 *
 * @author bwz
 * @version 1.0
 * @created 2015年4月22日
 */
@Service
public class LoanClaimDetailServiceImpl implements LoanClaimDetailService {
	
	@Autowired
	private LoanClaimDetailDao loanClaimDetailDao;


	@Override
	public LoanClaimDetail getRiskInfo(String projectNo) throws Exception {
		LoanClaimDetail loanClaimDetail = loanClaimDetailDao.getRiskInfo(projectNo);
		return loanClaimDetail;
	}


	@Override
	public LoanClaimPlanInfoVo getLoanClaimInfo(String projectNo) throws Exception {
		LoanClaimPlanInfoVo loanClaimPlanInfoVo = loanClaimDetailDao.getLoanClaimInfo(projectNo);
		return loanClaimPlanInfoVo;
	}

}
